// 公共样式 ---------------------------------------start
body{
  color: #606266;
  font-size: 14px;
}
.color{
  color: #0099ff;
}
.gray{
  color: #757575;
}
.warning{
  color: #e6a23c;
}
.error{
  color: #ff6363;
}

.bg-color{
  background-color: #0099ff;
  color: #fff;
}
.border{
  border: 1px solid #e9e9e9;
}
.border-l{
  border-left: 1px solid #e9e9e9;
}
.border-r{
  border-right: 1px solid #e9e9e9;
}
.border-t{
  border-top: 1px solid #e9e9e9;
}
.border-b{
  border-bottom: 1px solid #e9e9e9;
}
.float-l{
  float: left;
}
.float-r{
  float: right;
}
.shadow{
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.03);
}
.shadow-t{
  box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.03);
}
.shadow-b{
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.03);
}
.shadow-l{
  box-shadow: -4px 0px 4px rgba(0, 0, 0, 0.03);
}
.shadow-r{
  box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.03);
}
.font{
  font-size: 14px;
}
.font-s{
  font-size: 12px;
}
.font-l{
  font-size: 16px;
}
.padding{
  padding: 10px;
}
.padding-l{
  padding-left: 10px;
}
.padding-r{
  padding-right: 10px;
}
.padding-t{
  padding-top: 10px;
}
.padding-b{
  padding-bottom: 10px;
}

.margin{
  margin: 16px;
}
.margin-l{
  margin-left: 16px;
}
.margin-r{
  margin-right: 16px;
}
.margin-t{
  margin-top: 16px;
}
.margin-b{
  margin-bottom: 16px;
}
.text-c{
  text-align: center;
}
.text-l{
  text-align: left;
}
.text-r{
  text-align: right;
}
.w-100{
  width: 100% !important;
}
.w-50{
  width: 50% !important;
}
.w-25{
  width: 25% !important;
}
.input-border-b input{
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
.input-border-b .el-input__inner{
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
.input-border-none input{
  border: none;
  border-radius: 0;
}
.gap{
  height: 16px;
  width: 100%;
}
.relative{
  position: relative;
}
.mask{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.border-radius{
  border-radius: 4px;
}
.pointer{
  cursor: pointer;
}
.bar-l{
  position: relative;
  width: 4px;
  height: 16px;
  background: #0099ff;
  display: inline-block;
  top: 4px;
  margin-right: 10px;
}
// 公共样式 --------------------------------------- END

// 处理element-ui 公共样式兼容性 -------------------start
.el-pagination{
  text-align: center;
}
$fontSize:12px;
$fontColor: #5c5c5c;
.el-table {
  font-size: $fontSize;
  color: $fontColor;
}
.el-table thead{
  color: $fontColor;
}
.el-dropdown-menu--medium .el-dropdown-menu__item{
  font-size: $fontSize;
}
.el-table thead tr th{
  background-color: #f5f8fa;
}
.el-button--medium {
  padding: 8px 20px;
}
.el-input--medium .el-input__inner{
  height: 32px;
}
.bf-top-button .el-input--medium .el-input__inner{
  border-radius: 4px;
  background: #f1f2f4;
  width: 200px;
  border: 1px solid transparent;
  transition: width .4s;
}
.bf-top-button .el-input--medium .el-input__inner:focus{
  background: #fff;
  border: 1px solid #e9e9e9;
  width: 260px;
}
.el-input.is-disabled .el-input__inner {
  background-color: #ffffff;
  border-color: #e4e7ed;
  color: #c0c4cc;
  cursor: not-allowed;
}
.el-table--medium td{
  padding: 7px 0;
}
.el-menu--horizontal{
  border-bottom: solid 1px #e9e9e9;
}
.el-button--medium{
  padding: 8px 10px;
}
.bf-row-datapick .el-date-editor.el-input{
  width: 100%;
}
// .el-form-item__label,.el-checkbox__label,.el-cascader--medium,.el-input--medium,.el-radio__label{
//   font-size: $fontSize;
// }
// 处理element-ui 公共样式兼容性 ------------------- END


// 封装table 公共样式 ----------------------------- start
.bf-table-right-module{
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 500px;
  background: #fff;
  z-index: 2003;
  // overflow: scroll;
  overflow-x: hidden;
}
.bf-table-right-module input{
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
.bf-dialog-form input{
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
.bf-table-right-module-title{
  padding: 22px 16px;
  font-size: 14px;
  font-weight: bold;
  // position: absolute;
}
.bf-table-right-module-title>.float-r{
  cursor: pointer;
  padding-right: 10px;
}
.bf-table-right-form{
  padding-left: 20px;
  margin: 16px 0;
  padding-right: 26px;
  padding-top: 25px;
  position: absolute;
  top: 50px;
  bottom: 70px;
  overflow-y: auto;
  width: 100%;
}
.bf-table-right-module-bottom{
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 14px 0;
}
.bf-table{
  margin: 0 16px;
}
.el-tabs .bf-table{
  margin: 0;
}
.bf-table-form-item{
  width: 100%;
  float: left;
  // max-height: 52px;
}
.bf-table-right-form .el-input--medium {
  max-width: 500px;
}
.bf-table-right-form .el-radio{
  margin-left: 0;
  margin-right: 16px;
  line-height: 28px;
}
.bf-table-right-form .el-date-editor .el-range-separator{
  width: initial;
}
/* table 操作中的点击编辑编辑，左侧弹出操作界面动画 */
.bf-horizontal-enter-active {
  transition: all .3s  ease;
}
.bf-horizontal-leave-active {
  transition: all .3s ease;
}
.bf-horizontal-enter, .bf-horizontal-leave-to
/* .bf-horizontal-leave-active for below version 2.1.8 */ {
  transform: translateX(100px);
  opacity: 0;
}
.bf-top-button{
  padding: 20px 16px 20px 16px;
}
.pf-employee-status .el-radio{
  margin-left: 0;
  padding-bottom: 10px;
  padding-left: 10px;
}
.pf-employee-status .el-radio__label{
  padding-left: 4px;
}
.bf-form-none-border input{
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}
.bf-table-right-module .bf-table{
  margin: 0;
}
.bf-table-title>div:first-child {
  float: left;
}
.bf-table-title>div:last-child {
  float: right;
  color: #0099ff;
  cursor: pointer;
}
.bf-table-title>div{
  padding: 10px;
}
.bf-div-table-action .el-dropdown{
  height: 20px;
}
.bf-form-orgtree .el-tree-node__content{
  height: 36px;
}
.bf-form-orgtree .el-icon-caret-right{
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free" !important;
}

.bf-form-orgtree .el-icon-caret-right:before {
  content: "\F105";
}
// 封装table 公共样式 -------------------------------------- end


// 其他 -------------------------------------------- start
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
.el-table .cell{
  white-space: nowrap;
}
.el-submenu .svg-inline--fa{
  margin-right: 4px;
}
.bf-commont-template>div>p{
  font-size: 12px;
}
// 其他的 -------------------------------------------- end


// 业务兼容性css代码 ----------------------------- start

.inner  .bf-table-form-item{
  width: 50%;
  float: left;
  padding-right: 54px;

}

.inner .el-form-item {
  margin-bottom: 16px;
}
.inner input{
  width: 298px;
}
.home-search-emp .el-input{
  border-radius: 4px;
  overflow: hidden;
}
.home-search-emp .el-input__inner{
  background: #f1f2f4;
  border: none;
}
.news-content .mce-tinymce{
  box-shadow: initial;
}
.news-content .mce-top-part::before{
  box-shadow: initial;
}
.news-content  .mce-panel {
  border: 0 solid #bfcbd9;
}
.news-content .mce-ico{
  color: #606266;
}
// 业务兼容性css代码 ----------------------------- end
